package cn.fourhundredandeighteen.dao;

import cn.fourhundredandeighteen.entity.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectDao {
    int deleteByPrimaryKey(Long subjectId);

    int insert(Subject record);

    int insertSelective(Subject record);

    Subject selectByPrimaryKey(Long subjectId);

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);

    List<Subject> selectList(@Param("subjectIds") List<Long> subjectIds);

    List<Subject> selectAll();
}